<%@page import="org.webcamp.users.dto.User"%>
<%@page import="org.webcamp.questionary.dto.Questionary"%>
<%@page import="java.util.List"%>
<%
	List<Questionary> allQuestionaries = (List<Questionary>)request.getAttribute("questionaries");
%>
<%@include file="check_user.jsp" %>
<%@include file="header.jsp" %>

<% for(Questionary q: allQuestionaries) {
%>
		<div class="jumbotron">
		  <h2><%=q.getName()%></h2>
		  <p><%=q.getDescription()%></p>
		  <p><a class="btn btn-primary btn-lg" role="button" href="start_questionary.do?name=<%=q.getName()%>">Start</a></p>
		</div>
<%} %>
<%@include file="footer.jsp" %>
